package com.effectivsocial.repository;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.effectivsocial.domain.SocialNetwork;
import com.effectivsocial.domain.User;


public interface SocialNetworkRepository extends JpaRepository<SocialNetwork, String>{
	
	List<SocialNetwork> findByUsers(Pageable pageable,User user);
	SocialNetwork findBySharedSecret(String apiKey);
	
}
